package co.edu.uniandes.autoadaptacion.mbroker.matrix;

public class MatrixThread implements Runnable {

	private String serviceName;
	private Matrix im;
	private double responseTime;
	private boolean isReliable;
	
	
	public MatrixThread(String serviceName, double responseTime, boolean isReliable, Matrix im) {
		this.serviceName = serviceName;
		this.responseTime = responseTime;
		this.isReliable = isReliable;
		this.im = im;
	}
	
	@Override
	public void run() {
		im.updateQualityAttributeResponseTime(serviceName, responseTime, isReliable);
	}

}
